<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>UniMRCP: mrcp_sig_agent.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">UniMRCP
   &#160;<span id="projectnumber">1.5.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li><li class="navelem"><a class="el" href="dir_0c98097257c2ae0d9b869d8640598357.html">mrcp-signaling</a></li><li class="navelem"><a class="el" href="dir_37247a4dbe52d673a7d6d4bedd51464d.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">mrcp_sig_agent.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="mrcp__sig__agent_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright 2008-2015 Arsen Chaloyan</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * you may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * limitations under the License.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#ifndef MRCP_SIG_AGENT_H</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define MRCP_SIG_AGENT_H</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * @file mrcp_sig_agent.h</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * @brief Abstract MRCP Signaling Agent</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> */</span> </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;apr_network_io.h&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;apr_tables.h&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="mrcp__sig__types_8h.html">mrcp_sig_types.h</a>&quot;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="apt__task_8h.html">apt_task.h</a>&quot;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<a class="code" href="apt_8h.html#ad3d792bfc75893affad257781ea46e55">APT_BEGIN_EXTERN_C</a></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">/** Signaling settings */</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="structmrcp__sig__settings__t.html">   33</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmrcp__sig__settings__t.html">mrcp_sig_settings_t</a> {<span class="comment"></span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">    /** Server IP address */</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="structmrcp__sig__settings__t.html#ae078c25a4e58546ebd3cb07d258a972b">   35</a></span>&#160;    <span class="keywordtype">char</span>        *<a class="code" href="structmrcp__sig__settings__t.html#ae078c25a4e58546ebd3cb07d258a972b">server_ip</a>;<span class="comment"></span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">    /** Server port */</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structmrcp__sig__settings__t.html#a5409fcd130d2fd43a455d5628452b8bc">   37</a></span>&#160;    apr_port_t   <a class="code" href="structmrcp__sig__settings__t.html#a5409fcd130d2fd43a455d5628452b8bc">server_port</a>;<span class="comment"></span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">    /** Server SIP user name (v2 only) */</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structmrcp__sig__settings__t.html#a984692e99c6c8532132e65a4f275a990">   39</a></span>&#160;    <span class="keywordtype">char</span>        *<a class="code" href="structmrcp__sig__settings__t.html#a984692e99c6c8532132e65a4f275a990">user_name</a>;<span class="comment"></span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">    /** Resource location (v1 only) */</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structmrcp__sig__settings__t.html#a9019c53975dcfb1e85ea36df500427d6">   41</a></span>&#160;    <span class="keywordtype">char</span>        *<a class="code" href="structmrcp__sig__settings__t.html#a9019c53975dcfb1e85ea36df500427d6">resource_location</a>;<span class="comment"></span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment">    /** Map of the MRCP resource names (v1 only) */</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structmrcp__sig__settings__t.html#a7c5dd9bc72a5d13d6668eb7fd2c71b43">   43</a></span>&#160;    apr_table_t *<a class="code" href="structmrcp__sig__settings__t.html#a7c5dd9bc72a5d13d6668eb7fd2c71b43">resource_map</a>;<span class="comment"></span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment">    /** Force destination IP address. Should be used only in case </span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment">    SDP contains incorrect connection address (local IP address behind NAT) */</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structmrcp__sig__settings__t.html#ac15227265c7e0343e8989ab531373469">   46</a></span>&#160;    <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>   <a class="code" href="structmrcp__sig__settings__t.html#ac15227265c7e0343e8989ab531373469">force_destination</a>;<span class="comment"></span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment">    /** Optional feature tags */</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structmrcp__sig__settings__t.html#a4cea3247b1c362a7182728d8f9bdeb7f">   48</a></span>&#160;    <span class="keywordtype">char</span>        *<a class="code" href="structmrcp__sig__settings__t.html#a4cea3247b1c362a7182728d8f9bdeb7f">feature_tags</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;};</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment">/** MRCP signaling agent  */</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structmrcp__sig__agent__t.html">   52</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmrcp__sig__agent__t.html">mrcp_sig_agent_t</a> {<span class="comment"></span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">    /** Agent identifier */</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structmrcp__sig__agent__t.html#a2a59ef76ef6ac47398df7caa1253bf1a">   54</a></span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span>              *<a class="code" href="structmrcp__sig__agent__t.html#a2a59ef76ef6ac47398df7caa1253bf1a">id</a>;<span class="comment"></span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment">    /** Memory pool to allocate memory from */</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structmrcp__sig__agent__t.html#af244e70b3b3ca4b3f862679ba3c36aee">   56</a></span>&#160;    apr_pool_t              *<a class="code" href="structmrcp__sig__agent__t.html#af244e70b3b3ca4b3f862679ba3c36aee">pool</a>;<span class="comment"></span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment">    /** External object associated with agent */</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structmrcp__sig__agent__t.html#ae204088548defaac08d57bb76f50d75e">   58</a></span>&#160;    <span class="keywordtype">void</span>                    *<a class="code" href="structmrcp__sig__agent__t.html#ae204088548defaac08d57bb76f50d75e">obj</a>;<span class="comment"></span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="comment">    /** Parent object (client/server) */</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structmrcp__sig__agent__t.html#a77d6ddbec8960bc5383917f2aec2d424">   60</a></span>&#160;    <span class="keywordtype">void</span>                    *<a class="code" href="structmrcp__sig__agent__t.html#a77d6ddbec8960bc5383917f2aec2d424">parent</a>;<span class="comment"></span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">    /** MRCP resource factory */</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structmrcp__sig__agent__t.html#a7017bea3cb8ce000d5ebb584fb14cf91">   62</a></span>&#160;    <a class="code" href="mrcp__types_8h.html#a86ea0bd6606e449e37ca9f5378556ab0">mrcp_resource_factory_t</a> *<a class="code" href="structmrcp__sig__agent__t.html#a7017bea3cb8ce000d5ebb584fb14cf91">resource_factory</a>;<span class="comment"></span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="comment">    /** Task interface */</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structmrcp__sig__agent__t.html#abe858b840d2c0f9e2133b7daa8bde6de">   64</a></span>&#160;    <a class="code" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a>              *<a class="code" href="structmrcp__sig__agent__t.html#abe858b840d2c0f9e2133b7daa8bde6de">task</a>;<span class="comment"></span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment">    /** Task message pool used to allocate signaling agent messages */</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structmrcp__sig__agent__t.html#a9a00ad06cea8b2f8d0e38ac888421d10">   66</a></span>&#160;    <a class="code" href="apt__task__msg_8h.html#a514fa832615c1446e75591ac43855abc">apt_task_msg_pool_t</a>     *<a class="code" href="structmrcp__sig__agent__t.html#a9a00ad06cea8b2f8d0e38ac888421d10">msg_pool</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment">    /** Virtual create_server_session */</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structmrcp__sig__agent__t.html#a42829e27e8a0a7c3f949fc4e0f9a506c">   69</a></span>&#160;    <a class="code" href="structmrcp__session__t.html">mrcp_session_t</a>* (*create_server_session)(<a class="code" href="structmrcp__sig__agent__t.html">mrcp_sig_agent_t</a> *signaling_agent);<span class="comment"></span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="comment">    /** Virtual create_client_session */</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="structmrcp__sig__agent__t.html#ae51cc718cb0b28b188cf241553cdd1e5">   71</a></span>&#160;    <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> (*<a class="code" href="structmrcp__sig__agent__t.html#ae51cc718cb0b28b188cf241553cdd1e5">create_client_session</a>)(<a class="code" href="structmrcp__session__t.html">mrcp_session_t</a> *session, <span class="keyword">const</span> <a class="code" href="structmrcp__sig__settings__t.html">mrcp_sig_settings_t</a> *settings);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;};</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="comment">/** Create signaling agent. */</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="structmrcp__sig__agent__t.html">mrcp_sig_agent_t</a>*) <a class="code" href="mrcp__sig__agent_8h.html#a55b462169f054b19366b562a77c40c7b">mrcp_signaling_agent_create</a>(const <span class="keywordtype">char</span> *<span class="keywordtype">id</span>, <span class="keywordtype">void</span> *obj, apr_pool_t *pool);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="comment">/** Create factory of signaling agents. */</span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="mrcp__sig__types_8h.html#a9aee8b2805db8756cdb4aff445714f80">mrcp_sa_factory_t</a>*) <a class="code" href="mrcp__sig__agent_8h.html#a1d8bba70bf246bf424207c8fd772a4a0">mrcp_sa_factory_create</a>(apr_pool_t *pool);</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="comment">/** Add signaling agent to factory. */</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>) <a class="code" href="mrcp__sig__agent_8h.html#abd04165d172821abee5a538fe067b766">mrcp_sa_factory_agent_add</a>(<a class="code" href="mrcp__sig__types_8h.html#a9aee8b2805db8756cdb4aff445714f80">mrcp_sa_factory_t</a> *sa_factory, <a class="code" href="structmrcp__sig__agent__t.html">mrcp_sig_agent_t</a> *sig_agent);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="comment">/** Determine whether factory is empty. */</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>) <a class="code" href="mrcp__sig__agent_8h.html#a24a57553c1c3bca68ddd06bac1035675">mrcp_sa_factory_is_empty</a>(const <a class="code" href="mrcp__sig__types_8h.html#a9aee8b2805db8756cdb4aff445714f80">mrcp_sa_factory_t</a> *sa_factory);</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="comment">/** Select next available signaling agent. */</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="structmrcp__sig__agent__t.html">mrcp_sig_agent_t</a>*) <a class="code" href="mrcp__sig__agent_8h.html#a8ccc8e6d1fb30e8ab12657469bbf64cd">mrcp_sa_factory_agent_select</a>(<a class="code" href="mrcp__sig__types_8h.html#a9aee8b2805db8756cdb4aff445714f80">mrcp_sa_factory_t</a> *sa_factory);</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="comment">/** Allocate MRCP signaling settings. */</span></div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<a class="code" href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a>(<a class="code" href="structmrcp__sig__settings__t.html">mrcp_sig_settings_t</a>*) <a class="code" href="mrcp__sig__agent_8h.html#aa9b978d6cdf9f0bba223f1cb30260873">mrcp_signaling_settings_alloc</a>(apr_pool_t *pool);</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<a class="code" href="apt_8h.html#a432919823b38eb7e2b6fa2b544fb1644">APT_END_EXTERN_C</a></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* MRCP_SIG_AGENT_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="mrcp_8h_html_aa090864b67aead2a1ffdefa43479180e"><div class="ttname"><a href="mrcp_8h.html#aa090864b67aead2a1ffdefa43479180e">MRCP_DECLARE</a></div><div class="ttdeci">#define MRCP_DECLARE(type)</div><div class="ttdef"><b>Definition:</b> mrcp.h:40</div></div>
<div class="ttc" id="structmrcp__session__t_html"><div class="ttname"><a href="structmrcp__session__t.html">mrcp_session_t</a></div><div class="ttdef"><b>Definition:</b> mrcp_session.h:49</div></div>
<div class="ttc" id="mrcp__sig__agent_8h_html_aa9b978d6cdf9f0bba223f1cb30260873"><div class="ttname"><a href="mrcp__sig__agent_8h.html#aa9b978d6cdf9f0bba223f1cb30260873">mrcp_signaling_settings_alloc</a></div><div class="ttdeci">mrcp_sig_settings_t * mrcp_signaling_settings_alloc(apr_pool_t *pool)</div></div>
<div class="ttc" id="mrcp__sig__agent_8h_html_a1d8bba70bf246bf424207c8fd772a4a0"><div class="ttname"><a href="mrcp__sig__agent_8h.html#a1d8bba70bf246bf424207c8fd772a4a0">mrcp_sa_factory_create</a></div><div class="ttdeci">mrcp_sa_factory_t * mrcp_sa_factory_create(apr_pool_t *pool)</div></div>
<div class="ttc" id="mrcp__sig__agent_8h_html_a8ccc8e6d1fb30e8ab12657469bbf64cd"><div class="ttname"><a href="mrcp__sig__agent_8h.html#a8ccc8e6d1fb30e8ab12657469bbf64cd">mrcp_sa_factory_agent_select</a></div><div class="ttdeci">mrcp_sig_agent_t * mrcp_sa_factory_agent_select(mrcp_sa_factory_t *sa_factory)</div></div>
<div class="ttc" id="structmrcp__sig__agent__t_html_ae51cc718cb0b28b188cf241553cdd1e5"><div class="ttname"><a href="structmrcp__sig__agent__t.html#ae51cc718cb0b28b188cf241553cdd1e5">mrcp_sig_agent_t::create_client_session</a></div><div class="ttdeci">apt_bool_t(* create_client_session)(mrcp_session_t *session, const mrcp_sig_settings_t *settings)</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:71</div></div>
<div class="ttc" id="structmrcp__sig__settings__t_html_a7c5dd9bc72a5d13d6668eb7fd2c71b43"><div class="ttname"><a href="structmrcp__sig__settings__t.html#a7c5dd9bc72a5d13d6668eb7fd2c71b43">mrcp_sig_settings_t::resource_map</a></div><div class="ttdeci">apr_table_t * resource_map</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:43</div></div>
<div class="ttc" id="apt_8h_html_a432919823b38eb7e2b6fa2b544fb1644"><div class="ttname"><a href="apt_8h.html#a432919823b38eb7e2b6fa2b544fb1644">APT_END_EXTERN_C</a></div><div class="ttdeci">#define APT_END_EXTERN_C</div><div class="ttdef"><b>Definition:</b> apt.h:38</div></div>
<div class="ttc" id="apt_8h_html_ac7b6d8df47829d778eb598e1cc52cc2a"><div class="ttname"><a href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a></div><div class="ttdeci">int apt_bool_t</div><div class="ttdef"><b>Definition:</b> apt.h:57</div></div>
<div class="ttc" id="structmrcp__sig__settings__t_html_a5409fcd130d2fd43a455d5628452b8bc"><div class="ttname"><a href="structmrcp__sig__settings__t.html#a5409fcd130d2fd43a455d5628452b8bc">mrcp_sig_settings_t::server_port</a></div><div class="ttdeci">apr_port_t server_port</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:37</div></div>
<div class="ttc" id="structmrcp__sig__settings__t_html_a4cea3247b1c362a7182728d8f9bdeb7f"><div class="ttname"><a href="structmrcp__sig__settings__t.html#a4cea3247b1c362a7182728d8f9bdeb7f">mrcp_sig_settings_t::feature_tags</a></div><div class="ttdeci">char * feature_tags</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:48</div></div>
<div class="ttc" id="structmrcp__sig__agent__t_html_ae204088548defaac08d57bb76f50d75e"><div class="ttname"><a href="structmrcp__sig__agent__t.html#ae204088548defaac08d57bb76f50d75e">mrcp_sig_agent_t::obj</a></div><div class="ttdeci">void * obj</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:58</div></div>
<div class="ttc" id="structmrcp__sig__agent__t_html_a77d6ddbec8960bc5383917f2aec2d424"><div class="ttname"><a href="structmrcp__sig__agent__t.html#a77d6ddbec8960bc5383917f2aec2d424">mrcp_sig_agent_t::parent</a></div><div class="ttdeci">void * parent</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:60</div></div>
<div class="ttc" id="structmrcp__sig__agent__t_html_abe858b840d2c0f9e2133b7daa8bde6de"><div class="ttname"><a href="structmrcp__sig__agent__t.html#abe858b840d2c0f9e2133b7daa8bde6de">mrcp_sig_agent_t::task</a></div><div class="ttdeci">apt_task_t * task</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:64</div></div>
<div class="ttc" id="structmrcp__sig__settings__t_html"><div class="ttname"><a href="structmrcp__sig__settings__t.html">mrcp_sig_settings_t</a></div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:33</div></div>
<div class="ttc" id="mrcp__types_8h_html_a86ea0bd6606e449e37ca9f5378556ab0"><div class="ttname"><a href="mrcp__types_8h.html#a86ea0bd6606e449e37ca9f5378556ab0">mrcp_resource_factory_t</a></div><div class="ttdeci">struct mrcp_resource_factory_t mrcp_resource_factory_t</div><div class="ttdef"><b>Definition:</b> mrcp_types.h:76</div></div>
<div class="ttc" id="structmrcp__sig__agent__t_html_a7017bea3cb8ce000d5ebb584fb14cf91"><div class="ttname"><a href="structmrcp__sig__agent__t.html#a7017bea3cb8ce000d5ebb584fb14cf91">mrcp_sig_agent_t::resource_factory</a></div><div class="ttdeci">mrcp_resource_factory_t * resource_factory</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:62</div></div>
<div class="ttc" id="mrcp__sig__agent_8h_html_a24a57553c1c3bca68ddd06bac1035675"><div class="ttname"><a href="mrcp__sig__agent_8h.html#a24a57553c1c3bca68ddd06bac1035675">mrcp_sa_factory_is_empty</a></div><div class="ttdeci">apt_bool_t mrcp_sa_factory_is_empty(const mrcp_sa_factory_t *sa_factory)</div></div>
<div class="ttc" id="apt_8h_html_ad3d792bfc75893affad257781ea46e55"><div class="ttname"><a href="apt_8h.html#ad3d792bfc75893affad257781ea46e55">APT_BEGIN_EXTERN_C</a></div><div class="ttdeci">#define APT_BEGIN_EXTERN_C</div><div class="ttdef"><b>Definition:</b> apt.h:36</div></div>
<div class="ttc" id="structmrcp__sig__settings__t_html_a9019c53975dcfb1e85ea36df500427d6"><div class="ttname"><a href="structmrcp__sig__settings__t.html#a9019c53975dcfb1e85ea36df500427d6">mrcp_sig_settings_t::resource_location</a></div><div class="ttdeci">char * resource_location</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:41</div></div>
<div class="ttc" id="mrcp__sig__types_8h_html"><div class="ttname"><a href="mrcp__sig__types_8h.html">mrcp_sig_types.h</a></div><div class="ttdoc">MRCP Signaling Types Declaration. </div></div>
<div class="ttc" id="structmrcp__sig__agent__t_html"><div class="ttname"><a href="structmrcp__sig__agent__t.html">mrcp_sig_agent_t</a></div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:52</div></div>
<div class="ttc" id="structmrcp__sig__agent__t_html_a9a00ad06cea8b2f8d0e38ac888421d10"><div class="ttname"><a href="structmrcp__sig__agent__t.html#a9a00ad06cea8b2f8d0e38ac888421d10">mrcp_sig_agent_t::msg_pool</a></div><div class="ttdeci">apt_task_msg_pool_t * msg_pool</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:66</div></div>
<div class="ttc" id="apt__task_8h_html_a1b5b1eaf9cb77eaab758e6a79e1469c7"><div class="ttname"><a href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a></div><div class="ttdeci">typedefAPT_BEGIN_EXTERN_C struct apt_task_t apt_task_t</div><div class="ttdef"><b>Definition:</b> apt_task.h:31</div></div>
<div class="ttc" id="structmrcp__sig__agent__t_html_a2a59ef76ef6ac47398df7caa1253bf1a"><div class="ttname"><a href="structmrcp__sig__agent__t.html#a2a59ef76ef6ac47398df7caa1253bf1a">mrcp_sig_agent_t::id</a></div><div class="ttdeci">const char * id</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:54</div></div>
<div class="ttc" id="apt__task_8h_html"><div class="ttname"><a href="apt__task_8h.html">apt_task.h</a></div><div class="ttdoc">Thread Execution Abstraction. </div></div>
<div class="ttc" id="structmrcp__sig__settings__t_html_ae078c25a4e58546ebd3cb07d258a972b"><div class="ttname"><a href="structmrcp__sig__settings__t.html#ae078c25a4e58546ebd3cb07d258a972b">mrcp_sig_settings_t::server_ip</a></div><div class="ttdeci">char * server_ip</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:35</div></div>
<div class="ttc" id="mrcp__sig__agent_8h_html_abd04165d172821abee5a538fe067b766"><div class="ttname"><a href="mrcp__sig__agent_8h.html#abd04165d172821abee5a538fe067b766">mrcp_sa_factory_agent_add</a></div><div class="ttdeci">apt_bool_t mrcp_sa_factory_agent_add(mrcp_sa_factory_t *sa_factory, mrcp_sig_agent_t *sig_agent)</div></div>
<div class="ttc" id="structmrcp__sig__agent__t_html_af244e70b3b3ca4b3f862679ba3c36aee"><div class="ttname"><a href="structmrcp__sig__agent__t.html#af244e70b3b3ca4b3f862679ba3c36aee">mrcp_sig_agent_t::pool</a></div><div class="ttdeci">apr_pool_t * pool</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:56</div></div>
<div class="ttc" id="structmrcp__sig__settings__t_html_ac15227265c7e0343e8989ab531373469"><div class="ttname"><a href="structmrcp__sig__settings__t.html#ac15227265c7e0343e8989ab531373469">mrcp_sig_settings_t::force_destination</a></div><div class="ttdeci">apt_bool_t force_destination</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:46</div></div>
<div class="ttc" id="apt__task__msg_8h_html_a514fa832615c1446e75591ac43855abc"><div class="ttname"><a href="apt__task__msg_8h.html#a514fa832615c1446e75591ac43855abc">apt_task_msg_pool_t</a></div><div class="ttdeci">struct apt_task_msg_pool_t apt_task_msg_pool_t</div><div class="ttdef"><b>Definition:</b> apt_task_msg.h:50</div></div>
<div class="ttc" id="structmrcp__sig__settings__t_html_a984692e99c6c8532132e65a4f275a990"><div class="ttname"><a href="structmrcp__sig__settings__t.html#a984692e99c6c8532132e65a4f275a990">mrcp_sig_settings_t::user_name</a></div><div class="ttdeci">char * user_name</div><div class="ttdef"><b>Definition:</b> mrcp_sig_agent.h:39</div></div>
<div class="ttc" id="mrcp__sig__agent_8h_html_a55b462169f054b19366b562a77c40c7b"><div class="ttname"><a href="mrcp__sig__agent_8h.html#a55b462169f054b19366b562a77c40c7b">mrcp_signaling_agent_create</a></div><div class="ttdeci">mrcp_sig_agent_t * mrcp_signaling_agent_create(const char *id, void *obj, apr_pool_t *pool)</div></div>
<div class="ttc" id="mrcp__sig__types_8h_html_a9aee8b2805db8756cdb4aff445714f80"><div class="ttname"><a href="mrcp__sig__types_8h.html#a9aee8b2805db8756cdb4aff445714f80">mrcp_sa_factory_t</a></div><div class="ttdeci">struct mrcp_sa_factory_t mrcp_sa_factory_t</div><div class="ttdef"><b>Definition:</b> mrcp_sig_types.h:36</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 22 2017 10:11:48 for UniMRCP by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
